package com.atshiyou.dao;

import com.atshiyou.bean.Student;

import java.util.List;
import java.util.Map;

public interface StudentDao {
    //定义增删改查
    public List<Student> findAll();

    //主键查询
    public Student findByStuId(int stuId);

    //新增
    public int insert(Student s);

    //新增
    public int insert2(Map map);

    //查询studentiD中最大值，最小值，平均值
    public Map find();

}
